<!-- 接线检查 -->
<ion-content>
    <div class="step4">
        <div class="step4-one" *ngIf="Step.state == 1">
            <div>
                <span></span><label for="">给设备上电，检查确认设备正常</label>
            </div>
            <div *ngIf="!begin">
                <span (click)="active()"> 
                            <img src="assets/imgs/my/score/installation/steps/step4-b0.png" alt="">
                        </span>
                <p>点击激活通讯</p>
            </div>
            <div *ngIf="begin && !finish && !failed">
                <img src="assets/imgs/gallery/GIF/30008.gif" alt=" ">
                <p>正在激活...</p>
            </div>
            <div *ngIf="begin && finish">
                <span>
                            <img src="assets/imgs/my/score/installation/steps/step4-b2.png" alt="">
                        </span>
                <p style="margin: 10px 0 5px 0;">激活成功</p>
                <p style="margin: 0;">设备已建立正常通讯</p>
            </div>
            <div *ngIf="begin && failed">
                <span (click)="active()">
                            <img src="assets/imgs/my/score/installation/steps/step4-b0.png" alt="">
                        </span>
                <p>激活失败，请重新激活</p>
            </div>
        </div>
    </div>
    <button *ngIf="begin && finish" (click)="toNext(3)">下一步</button>
    <button *ngIf="begin && failed" style="background: #ff1900" (click)="change(6)">更换设备，重新安装</button>
</ion-content>